.tags-container {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #f5f7fa;
  color: #606266;
  border: none;
}

.tag-separator {
  color: #dcdfe6;
  font-size: 12px;
}

/* 悬浮导航样式 */
.float-nav {
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.nav-item {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.nav-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.home-btn {
  background: #409EFF;
  color: white;
}

.rocket-btn {
  position: relative;
  background: #67C23A;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
}

.show-rocket .rocket-btn {
  opacity: 1;
  transform: translateY(0);
}

.rocket {
  position: relative;
  z-index: 2;
}

.rocket-flame {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 12px;
  background: linear-gradient(to bottom, #f56c6c, transparent);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  opacity: 0;
  transition: all 0.3s;
}

.rocket-btn:hover .rocket-flame {
  opacity: 1;
  height: 16px;
  bottom: -12px;
}

@media (max-width: 768px) {
  .float-nav {
    right: 20px;
    bottom: 20px;
  }

  .nav-item {
    width: 36px;
    height: 36px;
  }
}

/* 添加动画效果 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.rocket-btn:hover {
  animation: pulse 1s infinite;
}

.article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 文章标题和元信息 */
.article-header {
  margin-bottom: 2rem;
  text-align: center;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-meta {
  color: #666;
  font-size: 0.9rem;
}

.article-meta .divider {
  margin: 0 0.5rem;
}

/* 文章内容样式 */
:deep(.article-container) {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
}

:deep(.article-lead) {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

:deep(.section-heading) {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 2rem 0 1rem;
  font-weight: 600;
}

:deep(.article-paragraph) {
  margin-bottom: 1.5rem;
}

:deep(.article-image) {
  margin: 2rem auto;
  text-align: center;
  max-width: 100%;
}

:deep(.main-image) {
  margin: 3rem auto;
  max-width: 900px;
}

:deep(.article-image img) {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

:deep(.image-caption) {
  margin-top: 0.8rem;
  color: #666;
  font-size: 0.9rem;
  text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .article {
    padding: 15px;
  }

  .article-title {
    font-size: 2rem;
  }

  :deep(.article-container) {
    font-size: 1rem;
  }

  :deep(.section-heading) {
    font-size: 1.5rem;
  }

  :deep(.article-lead) {
    font-size: 1.1rem;
  }
}

/* 相关文章样式 */
.related-articles {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.related-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.related-articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.related-article {
  transition: transform 0.3s;
}

.related-article:hover {
  transform: translateY(-5px);
}

.related-link {
  text-decoration: none;
  color: inherit;
}

.related-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.related-article-title {
  font-size: 1.1rem;
  margin: 0;
  color: #2c3e50;
  line-height: 1.4;
}